import { RequestUtil } from '@/utils/request.js';

const getList = (pageNo, pageSize, searchQuery, sortBy, isAsc) => {
  return RequestUtil.get('/operation_log', {
    params: {
      pageNo: pageNo,
      pageSize: pageSize,
      sortBy: sortBy,
      isAsc: isAsc,
      ...searchQuery
    }
  });
};

export const OperationLogApi = {
  getList
};
